const express = require('express')
const mysqlConn = require("./config/databaseConfig");
const app = express()

app.get('/', function (req, res) {

    mysqlConn.query('SELECT * from username', (err, rows) => {
        if (err) throw err
        res.send(rows)
    })
})

app.listen(8088,'0.0.0.0', ()=>{
    console.log(`[ express-serve ] 服务已启动在http://localhost:8088`)
})